<%--
  Created by IntelliJ IDEA.
  User: zheng
  Date: 2020/7/15
  Time: 16:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生信息管理系统-登录</title>
    <link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css"/>
    <script src="./js/jquery-1.9.1.min.js" type="text/javascript" charset="UTF-8"></script>
    <script src="./js/bootstrap.min.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
<%
    if (null != session.getAttribute("admin")) {
        response.sendRedirect("info.jsp");
    }
%>
<form action="login" class="form-horizontal" role="form" method="post">
    <div class="form-group">
        <label for="username" class="col-sm-offset-3 col-sm-2 control-label">用户名</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" name="username" id="username" placeholder="请输入名字">
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="col-sm-offset-3 col-sm-2 control-label">密码
        </label>
        <div class="col-sm-2">
            <input type="password" class="form-control" name="password" id="password" placeholder="">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-5 col-sm-5">
            <div class="checkbox">
                <input type="checkbox" name="remember" value="1">请记住我
            </div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-5 col-sm-10">
            <button type="submit" class="btn btn-default">登录</button>
        </div>
    </div>
</form>
</body>
</html>
